﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oxite.Data;

namespace NotMyself.Oxite.Model
{
    public class Message : EntityBase, IMessage 
    {
        public Message()
        {
            MessageTos = new List<IMessageTo>();
        }
        public virtual IUser From { get; set; }
        public virtual IEnumerable<IMessageTo> MessageTos { get; private set; }
        public virtual string Subject { get; set; }
        public virtual string Body { get; set; }
        public virtual bool IsSent { get; set; }
        public virtual DateTime? SentDate { get; set; }
    }
}
